using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;
namespace Thaire.Investment.Repository.Mapping
{
       
    class   FixincomesecuritiesAmortizeDetailMap : ClassMap<FixincomesecuritiesAmortizeDetail>
    {

        public FixincomesecuritiesAmortizeDetailMap()
            {
                Table("FIXINCOMESECURITIES_AMORTIZE_DETAIL");
                Id(x => x.FixincomesecuritiesAmortizeDetailID, "FIXINCOMESECURITIES_AMORTIZE_DETAIL_ID").GeneratedBy.Identity();

                Map(x => x.FixincomesecuritiesAmortizeHeaderID,"FIXINCOMESECURITIES_AMORTIZE_HEADER_ID");
 Map(x => x.Type,"TYPE");
 Map(x => x.Period,"PERIOD");
 Map(x => x.AmortizeDate,"AMORTIZE_DATE");
 Map(x => x.NOOFDays,"NO_OF_DAYS");
 Map(x => x.Coupon,"COUPON");
 Map(x => x.Interest,"INTEREST");
 Map(x => x.AmortiseOFInterest,"AMORTISE_OF_INTEREST");
 Map(x => x.DiscountPremium,"DISCOUNT_PREMIUM");
 Map(x => x.BookValue,"BOOK_VALUE");

            }


    }

}